import About2 from "../pages/About2";
import Home from "../pages/Home";
import {Navigate} from "react-router-dom";
import React from "react";

const routes = [
    {
        path: '/About',
        element: <About2/>
    },
    {
        path: '/Home',
        element: <Home/>
    },
    {
        path: '/',
        element: <Navigate to='/About'/>
    }
]

export default routes